#ifndef PARSE_INI_FILE_H
#define PARSE_INI_FILE_H
//system files
#include <fstream>
#include <iostream>
#include <string>
#include <map>
using namespace std;
#define COMMENT_CHAR '#'

class ParseIniFile
{
public:
        ParseIniFile();
        ~ParseIniFile();
        bool ReadConfig(const string& filename, map<string, string>& mContent, const char* section);
        bool AnalyseLine(const string & line, string & key, string & val);
        void Trim(string & str);
        bool IsSpace(char c);
        bool IsCommentChar(char c);
        void PrintConfig(const map<string, string> & mContent);
private:
};

#endif // PARSE_INI_FILE_H
